//
//  LQViewController.m
//  乐清
//
//  Created by mac on 16/5/4.
//  Copyright © 2016年 Simon. All rights reserved.
//

#import "LQViewController.h"
#import "FucSelectView.h"

@interface LQViewController ()

@end

@implementation LQViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:54 / 255.0 green:207 / 255.0 blue:151 / 255.0 alpha:1];
    self.view.backgroundColor = [UIColor whiteColor];
    
    [self _createFucSelectView];
}

- (void)viewWillAppear:(BOOL)animated {
    
    [super viewWillAppear:animated];
    
    self.navigationController.navigationBarHidden = YES;
}

- (void)_createFucSelectView {
    
    FucSelectView *selectView = [[FucSelectView alloc] initWithFrame:self.view.frame];
    selectView.viewType = 1;
    [self.view addSubview:selectView];
}

- (void)viewWillDisappear:(BOOL)animated {
    
    [super viewWillDisappear:animated];
    
//    self.navigationController.navigationBarHidden = NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
